package com.ea.modular.model.sys;

import java.util.Date;

import com.ea.common.parent.model.DataModel;
/**
 * 日志管理bean
 * @author jun
 *
 */
public class Log extends DataModel<Log>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String status;//方法名
	private String title;//日志标题
	private String remoteAddr;//操作IP
	private String userAgent;//类名
	private String requestUri;//请求URL
	private String method;//操作方式
	private String params;//操作提交的数据
	private String exception;//异常信息
	private String opsType;//操作类型()
	
	
	//临时存放 查询时应用
	private String beginTime;
	private String overTime;
	private String loginName;
	
	
	
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	
	public String getOverTime() {
		return overTime;
	}
	public void setOverTime(String overTime) {
		this.overTime = overTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getRemoteAddr() {
		return remoteAddr;
	}
	public void setRemoteAddr(String remoteAddr) {
		this.remoteAddr = remoteAddr;
	}
	public String getUserAgent() {
		return userAgent;
	}
	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}
	public String getRequestUri() {
		return requestUri;
	}
	public void setRequestUri(String requestUri) {
		this.requestUri = requestUri;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	public String getException() {
		return exception;
	}
	public void setException(String exception) {
		this.exception = exception;
	}
	public String getOpsType() {
		return opsType;
	}
	public void setOpsType(String opsType) {
		
		this.opsType = opsType;
	}
	@Override
	public String toString() {
		return "Log [status=" + status + ", title=" + title + ", remoteAddr=" + remoteAddr + ", userAgent=" + userAgent
				+ ", requestUri=" + requestUri + ", method=" + method + ", params=" + params + ", exception="
				+ exception + ", opsType=" + opsType + "]";
	}
	

	///为排序准备字段

		private Date create_date;



		public Date getCreate_date() {
			return create_date;
		}
		public void setCreate_date(Date create_date) {
			this.create_date = create_date;
		}
		public void setCreateDate(Date createDate) {
			setCreate_date(createDate);
			this.createDate = createDate;
		}
}
